package com.honeycomb.tag.dto;

import com.honeycomb.common.ResourceManager;

public class TagInfoDto {
	
	public final static String ROOT_TAG_PARENT_ID = "0";

	/*
	 * 标签封装类，包括:
	 * 1、标签ID
	 * 2、上级标签ID
	 * 3、标签名
	 * 4、标签图片URL
	 * */
	private String tagId;
	private String parentId;
	private String tagName;
	private String tagLogoUrl;
	
	public TagInfoDto(String id) {
		this.tagId = id;
	}
	
	public TagInfoDto() {
		this.tagId = ResourceManager.generateStringID();
	}
	
	
	public String getTagLogoUrl() {
		return tagLogoUrl;
	}
	public void setTagLogoUrl(String tagLogoUrl) {
		this.tagLogoUrl = tagLogoUrl;
	}
	public String getTagId() {
		return tagId;
	}
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	public String getTagName() {
		return tagName;
	}
	public void setTagName(String tagName) {
		this.tagName = tagName;
	}
	
}
